import Vue from 'vue'
import App from './App.vue'
import 'amfe-flexible'
import './assets/pd-mg.css'
import './assets/common.css'
// import './assets/font/iconfont.css'
// 引入重置样式表
import './assets/css/my-reset.css'
import less from 'less'
//全局导入所有组件
import Vant from 'vant';
import 'vant/lib/index.css';
import router from '@/router/index.js';
// 引入vant 提供过的懒加载
import {Lazyload} from 'vant';
//解决跨域
import {VueJsonp} from 'vue-jsonp'
import store from './store';

Vue.use(VueJsonp)
Vue.use(Lazyload);
Vue.use(Vant)
Vue.use(less)

Vue.config.productionTip = false

new Vue({
    render: h => h(App),
    //router挂载路由到根实例
    router,
    store
}).$mount('#app')

